package com.cuit.freshmanMS.service;

import com.cuit.freshmanMS.domain.Academy;
import com.cuit.freshmanMS.domain.Class_;
import com.cuit.freshmanMS.query.ClassQuery;
import com.cuit.freshmanMS.util.result.CommonResult;
import com.cuit.freshmanMS.util.result.PageResult;

import java.util.List;

public interface ClassService {
    //查询所有
    List<Class_> loadAll();

    //删除
    CommonResult deleteAcaByCno(Integer cno);

    //批量删除
    CommonResult batchDelete(List<Integer> cnos);

    //新增
    CommonResult addClass(Class_ class_);

    //修改
    CommonResult updateClass(Class_ class_);

    //高级查询

    PageResult<Class_> selectAll(ClassQuery classQuery);
}

